﻿// Copyright (c) 2010
// by Michael Washington
// http://openlightgroup.net/

using System;
using System.Collections.Generic;

namespace SilverlightDebateForum
{
    [Serializable]
    public class Statement
    {
        public int StatementID { get; set; }
        public int CategoryID { get; set; }
        public string CategoryTitle { get; set; }
        public int CreatedBy { get; set; }
        public string Title { get; set; }
        public string StatementContent { get; set; }
        public int PostedBy { get; set; }
        public bool Locked { get; set; }
        public System.DateTime UpdatedOn { get; set; }
        public int UpdatedBy { get; set; }
        public int AgreeCount { get; set; }
        public int DisagreeCount { get; set; }
        public List<Opinion> AgreeOpinions { get; set; }
        public List<Opinion> DisagreeOpinions { get; set; }
        public List<string> Errors = new List<string>();
    }
}